package com.weds.common_service;

import com.weds.data_sync_api.api.top.ApiProducer;
import com.weds.data_sync_api.entity.ProducerEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 生产档案
 * @Author lihw
 * @Date 2024/2/26 15:38
 */

public class ArchiveDoProducer implements ApiProducer<ArchiveDto> {

    @Override
    public <P extends ProducerEntity> List<ArchiveDto> producer(P producerParam) {
        List<ArchiveDto> list = new ArrayList<>();
        ArchiveDto archiveDto = new ArchiveDto();
        archiveDto.setUserName("lhw");
        archiveDto.setAge(19);
        archiveDto.setUserId("1");
        archiveDto.setHobby("篮球");
        list.add(archiveDto);
        return list;
    }
}
